﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace PersistentObject.Common.Criteria
{
    /// <summary>
    /// Represent a NOT clause
    /// </summary>
    public class NotCriteria : BaseCriteria
    {
        /// <summary>
        /// Indicate the hosted criteria 
        /// </summary>
        public BaseCriteria HostedCriteria { get; private set; }
        /// <summary>
        /// The constructor of NOT criteria
        /// </summary>
        /// <param name="hostedCriteria">Indicate the hosted criteria</param>
        public NotCriteria(BaseCriteria hostedCriteria)
        {
            HostedCriteria = hostedCriteria;
        }
    }
}
